package com.example.examoj.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Controller;

import java.util.List;

@Controller
@Mapper
public interface UserMapper {
    public User queryByUserName(String username) ;
    public int insertUser(User user);
    public int deleteUser(int id);
    public List<User> queryUserAll();
    public User queryByID(int id);

}
